package sh.wn36.vehiclemanage.entity.entity_cjl.reminder;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class Reminder implements Serializable {

    private static final long serialVersionUID = 1L;

    private String carNo;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date nextdate;

    private String reminderType;

    public Reminder(String reminderType){
        this.reminderType = reminderType;
    }
}
